package com.atguigu.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author kabuda
 * @create 2022-11-17 20:11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Catelog2VO {
    private String catalogId; //1级父分类
    private List<Catelog3VO> catalog3List;  //三级子分类
    private String id;
    private String name;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Catelog3VO{
        private String catalog2Id;  //父分类，2级分类id
        private String id;
        private String name;
    }
}
